/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: Administrator
 * Date: 2023-08-24
 * Time: 15:34
 */
public class Test {
    public static void main(String[] args) {
        Thread t1 = new Thread(()->{
           while (true){
               System.out.println("t1");
               try {
                   Thread.sleep(3000);
               } catch (InterruptedException e) {
                   e.printStackTrace();
               }
           }
        });

        t1.start();
    }
}
